<!-- Navigation -->

<div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="<%= root_path %>">核心业务系统</a>
</div>
<ul class="nav navbar-top-links navbar-right">
<!-- /.dropdown -->
<!-- /.dropdown -->
<!-- /.dropdown -->
<li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
        <i class="fa fa-user fa-fw"></i> <%= "#{role_text(session[:user]['role_name'])} - #{session[:user]['real_name']}" %><i class="fa fa-caret-down"></i>
    </a>
    <ul class="dropdown-menu dropdown-user">
        <li><a href="<%= sessions_edit_password_path%>"><i class="fa fa-user fa-fw"></i> 修改密码</a>
        </li>
        <li class="divider"></li>
        <li><a href="<%= logout_path %>"><i class="fa fa-sign-out fa-fw"></i> 登出</a>
        </li>
    </ul>
    <!-- /.dropdown-user -->
</li>
<!-- /.dropdown -->
</ul>

<!-- /.navbar-header -->